package com.kws.merchant.domain.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : zhangbenting
 * @date : 2024/11/7 15:26
 * @Version: 1.0
 */
@Data
public class UserRemarkPo {

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @ApiModelProperty("商品ID")
    @NotNull(message = "商品ID不能为空")
    private Long goodsId;

    @ApiModelProperty("评论")
    @NotEmpty(message = "评论不能为空")
    private String remark;

    @ApiModelProperty("商品评价星级(5非常好 4好 3一般 2差 1非常差)")
    @NotNull(message = "商品评价不能为空")
    private Integer starLevel;

    @ApiModelProperty(value = "快递包装")
    @NotNull(message = "快递包装不能为空")
    private Integer expressPackage;

    @ApiModelProperty(value = "送货速度")
    @NotNull(message = "送货速度不能为空")
    private Integer deliverySpeed;

    @ApiModelProperty(value = "配送员服务")
    @NotNull(message = "配送员服务不能为空")
    private Integer deliveryPersonnel;

    @ApiModelProperty("评论图片")
    private List<String> remarkImg;

    @ApiModelProperty("商品类型")
    @NotNull(message = "商品类型不能为空")
    private Integer goodsType;

    @ApiModelProperty("页码")
    private Integer pageSize;

    @ApiModelProperty("显示条数")
    private Integer totalPage;
}
